package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import org.framework.lazy.cloud.network.heartbeat.common.enums.NettyClientStatus;
import org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyDTO;

import java.time.LocalDateTime;

/**
 * describe 客户端状态
 *
 * @author Jia wei Wu
 * @date 2023/12/27 03:46 下午
 * @see DefaultDDDLazyDTO
 **/
@Data
@Accessors(chain = true)
@Schema(title = "lazy_netty_client_state_group_by_client_dto", description = "客户端状态")
public class LazyNettyClientStateGroupByClientDTO {


    /**
     * 客户端ID
     */
    @Schema(description = "客户端ID", name = "clientId", example = "")
    private String clientId;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间", name = "createTime", example = "")
    private LocalDateTime createTime;

    /**
     * 主键
     */
    @Schema(description = "主键", name = "id", example = "")
    private Long id;

    /**
     * 是否删除
     */
    @Schema(description = "是否删除", name = "isDeleted", example = "")
    private Boolean isDeleted;


    /**
     * 修改时间
     */
    @Schema(description = "修改时间", name = "updateTime", example = "")
    private LocalDateTime updateTime;

    /**
     * 描述
     */
    @Schema(description = "描述", name = "describe", example = "")
    private String describe;
    /**
     * 服务端ID
     */
    @Schema(description = "服务端ID", name = "serverId", example = "")
    private String serverId;
    /**
     * 客户端数量
     */
    @Schema(description = "客户端数量", name = "clientNum", example = "")
    private Integer clientNum;

    /**
     * 在线数量
     */
    @Schema(description = "在线数量", name = "onLineNum", example = "")
    private Integer onLineNum;
    /**
     * 暂存打开数量
     */
    @Schema(description = "暂存打开数量", name = "onStagingNum", example = "")
    private Integer onStagingNum;
}